package com.mrobuy.jdvc.entity;

import com.gavel.annotation.FieldMeta;
import com.gavel.annotation.TableMeta;
import com.gavel.database.SQLExecutor;

/**
 * 京东品牌
 */
@TableMeta(name = "VC_CATE_BRAND", title = "京东产线品牌")
public class VCCateBrand {

    @FieldMeta(name = "ID", title = "ID", length = 32, primary = true)
    private String id;

    @FieldMeta(name = "CATEID", title = "CID", length = 20)
    private Integer cateid;

    @FieldMeta(name = "CATENAME", title = "类目名称", length = 32)
    private String catename;

    @FieldMeta(name = "BRANDID", title = "品牌ID", length = 32)
    private Integer brandid;

    @FieldMeta(name = "NAME", title = "品牌名称", length = 32)
    private String name;

    @FieldMeta(name = "STATUS", title = "状态", length = 8)
    private String status;

    @FieldMeta(name = "ACCOUNT", title = "供应商简码", length = 32)
    private String account;

    public VCCateBrand() {
    }

    public VCCateBrand(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getBrandid() {
        return brandid;
    }

    public void setBrandid(Integer brandid) {
        this.brandid = brandid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Integer getCateid() {
        return cateid;
    }

    public void setCateid(Integer cateid) {
        this.cateid = cateid;
    }

    public String getCatename() {
        return catename;
    }

    public void setCatename(String catename) {
        this.catename = catename;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "VCCateBrand{" +
                "id='" + id + '\'' +
                ", cateid=" + cateid +
                ", catename='" + catename + '\'' +
                ", brandid=" + brandid +
                ", name='" + name + '\'' +
                ", account='" + account + '\'' +
                '}';
    }

    public static void main(String[] args) throws Exception {
        SQLExecutor.createTable(VCCateBrand.class);
    }
}
